.TH std::extents::index-cast 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::extents::index-cast \- std::extents::index-cast

.SH Synopsis
   template< class OtherIndexType >                                  (since C++23)
   static constexpr auto /*index-cast*/( OtherIndexType&& i )        (exposition only*)
   noexcept;

   Casts the index i in type OtherIndexType into certain integral type. It is
   equivalent to:

     * return i;, if OtherIndexType is an integral type other than bool and
     * return static_cast<index_type>(i); otherwise.

.SH Parameters

   i - the index to be cast

.SH Return value

   Cast index.

.SH Notes

    This section is incomplete

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

    This section is incomplete

.SH Categories:
     * Todo without reason
     * Todo no example
